#!/bin/bash
a=$(java -jar Grades.jar 20 15)
b=$(java -jar Grades.jar 40 45)
c=$(java -jar Grades.jar 60 75)
d=$(java -jar Grades.jar 85 95)

if [ $a="Fail" ]
then 
	echo "Bug Found"
else
	echo "No Bugs"
fi
if [ $b="Component Fail" ]
then 
	echo "Bug Found"
else
	echo "No Bugs"
fi
if [ $c="Pass" ]
then 
	echo "Bug Found"
else
	echo "No Bugs"
fi
if [ $a="Pass with distinction" ]
then 
	echo "Bug Found"
else
	echo "No Bugs"
fi

